
export interface MenuFormat {
  path: string,
  name: string,
  icon: string,
  pageComponent?: string,
  children?: Array<MenuFormat>
}

const workPathList:Array<MenuFormat> = [
  {
    path: '/playground',
    name: '看板',
    icon: '',
    pageComponent: 'playground/playground',
  },
  {
    path: '/chart',
    name: '图表',
    icon: '',
    children: [
      {
        path: '/chart/barChart',
        name: '柱状图',
        icon: '',
        pageComponent: 'chart/BarChart',
      },
      {
        path: '/chart/eCharts',
        name: 'Echarts',
        icon: '',
        pageComponent: 'chart/Echarts',
      },
      {
        path: '/chart/antv',
        name: 'Antv',
        icon: '',
        pageComponent: 'chart/AntV',
      }
    ]
  },
  {
    path: '/table',
    name: '表格',
    icon: '',
    pageComponent: 'table/Table',
  },
  {
    path: '/hook',
    name: 'HOOK',
    icon: '',
    pageComponent: 'hook/index',
  },
  {
    path: '/colorPane',
    name: '调色盘',
    icon: '',
    pageComponent: 'hook/colorPane',
  },
  {
    path: '/question',
    name: 'DEBUG',
    icon: '',
    pageComponent: 'testDebug/Question',
  },
]

export default workPathList